package com.moyu.test;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;

public class test {
    public static void main(String[] args) {
        String s = "Sun Sep 02 2012 08:00:00 GMT+08:00";
        SimpleDateFormat sf = new SimpleDateFormat("yy/MM/dd HH:mm");

        Date now=new Date(s);
        System.out.println(now);
    }
}
